<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all">
    <style>
        .Modular {
            width: 100%;
            margin: 0px 0px 10px 0px;
            padding: 20px 0px;
            background: #fff;
        }
        .Modular>div{
            width: 80%!important;
            margin: auto;
        }
        .s_res{
            width: 81%;
            height: 540px;
            margin: auto;
        }
        .s_res_title{
            width: 160px;
            margin: auto;
            font-size: 18px;
        }
        .s_res_title_b{
            font-weight: bold;
            padding-right: 10px;
        }
        .s_res_list{
            display: flex;
            width: 100%;
            flex-wrap: wrap;
            margin-top: 20px;
        }
        .s_res_list_imfor{
            width: 100%;
            height: 45px;
            background: #fff;

        }
        .layui-col2{
            height: 260px;
            flex: 0 0 25%;
            padding-right: 10px;
            padding-left: 10px;
            cursor: pointer;
            box-sizing: border-box;
        }
        .layui-col2-card:hover{
            -moz-transform:scale(1.05,1.05);
            -webkit-transform:scale(1.05,1.05);
            -o-transform:scale(1.05,1.05);
        }
        .layui-col img, .layui-col2 img {
            width: 100%;
        }
        .s_res_list_imfor_name {
            display: inline-block;
            width: 50%;
            height: 40px;
            float: left;
            line-height: 40px;
            text-indent: 10px;
            font-weight: bold;
        }
        .s_res_list_imfor_data{
            display: inline-block;
            width: 50%;
            height: 40px;
            line-height: 40px;
        }
        .s_res_list_imfor_data>div{
            float: right;
            margin-right: 10px;
        }
        .s_box {
            width: 80%;
            margin:20px auto;
            padding: 10px;
            background: #fff;
            position: relative;
            box-shadow: 3px 6px 11px 0 #d4d4d4;
            box-sizing: border-box;
        }
        .s_btn, .s_type{
            width: 80%;
            height: 60px;
            font-size: 16px;
            margin: auto;
            margin-top: 25px;
        }
        .s_btn i{
            font-size: 35px;
            color: #fff;
            position: absolute;
            right: 145px;
            cursor: pointer;
            top: 35px;
            width: 60px;
            height: 60px;
            background: #1E9FFF;
            text-align: center;
            line-height: 60px;
            border-top-right-radius: 8px;
            border-bottom-right-radius: 8px;
        }
        .s_btn input{
            height: 60px;
            background: #f1f1f1;
            border: none;
            border-radius: 8px;
            font-size: 16px;
        }
        input::-webkit-input-placeholder { /* WebKit browsers */
            text-indent: 8px;
            color: #bababa;
            font-size:16px;
        }
        .s_type b{
            line-height: 30px;
            display: inline-block;
            overflow: hidden;
            color: #8a8a8a;
        }
        .s_type ul {
            display: inline-block;
        }
        .s_type ul li{
            float: left;
            cursor: pointer;
            margin-left: 20px;
            padding: 5px 10px;
            border-radius: 5px;
        }
        .s_typeLi {
            background: #1E9FFF;
            color: #fff;
        }
    </style>
</head>
<body style="width: 100%;padding: 0px; background-color: #eaeaea;">

<div class="s_box">
    <div class="s_btn">
        <input type="text" name="title"  placeholder="请输入您感兴趣的模板" autocomplete="off" class="layui-input search">
        <i class="layui-icon ">&#xe615;</i>
    </div>
    <div class="s_type">
        <b>分类：</b>
        <ul>
            <li>全部</li>
            <li>三维地理</li>
            <li>综合管理</li>
            <li>服务更新</li>
        </ul>
    </div>
</div>

<div class="s_res">
        <div class="s_res_list">
            <div class="layui-col2">
                <div class="layui-col2-card">
                    <img src="../../static/IMG/Home/work_03.png">
                    <div class="s_res_list_imfor">
                        <div class="s_res_list_imfor_name">三维可视化</div>
                        <div class="s_res_list_imfor_data">
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe6c6;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>35k</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col2">
                <div class="layui-col2-card">
                    <img src="../../static/IMG/Home/work_05.png">
                    <div class="s_res_list_imfor">
                        <div class="s_res_list_imfor_name">三维可视化</div>
                        <div class="s_res_list_imfor_data">
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe6c6;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>35k</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col2">
                <div class="layui-col2-card">
                    <img src="../../static/IMG/Home/work_07.png">
                    <div class="s_res_list_imfor">
                        <div class="s_res_list_imfor_name">三维可视化</div>
                        <div class="s_res_list_imfor_data">
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe6c6;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>35k</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col2">
                <div class="layui-col2-card">
                    <img src="../../static/IMG/Home/work_09.png">
                    <div class="s_res_list_imfor">
                        <div class="s_res_list_imfor_name">三维可视化</div>
                        <div class="s_res_list_imfor_data">
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe6c6;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>35k</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col2">
                <div class="layui-col2-card">
                    <img src="../../static/IMG/Home/work_15.png">
                    <div class="s_res_list_imfor">
                        <div class="s_res_list_imfor_name">三维可视化</div>
                        <div class="s_res_list_imfor_data">
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe6c6;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>35k</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col2">
                <div class="layui-col2-card">
                    <img src="../../static/IMG/Home/work_16.png">
                    <div class="s_res_list_imfor">
                        <div class="s_res_list_imfor_name">三维可视化</div>
                        <div class="s_res_list_imfor_data">
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe6c6;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>35k</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col2">
                <div class="layui-col2-card">
                    <img src="../../static/IMG/Home/work_18.png">
                    <div class="s_res_list_imfor">
                        <div class="s_res_list_imfor_name">三维可视化</div>
                        <div class="s_res_list_imfor_data">
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe6c6;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>35k</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col2">
                <div class="layui-col2-card">
                    <img src="../../static/IMG/Home/work_19.png">
                    <div class="s_res_list_imfor">
                        <div class="s_res_list_imfor_name">三维可视化</div>
                        <div class="s_res_list_imfor_data">
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe6c6;</i>
                                <span>50</span>
                            </div>
                            <div>
                                <i class="layui-icon">&#xe60c;</i>
                                <span>35k</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

<script src="../../JS/jquery-2.0.3.js"></script>
<script src="../../layui/layui.js" charset="utf-8"></script>
<script>
    layui.use(['element','carousel'], function () {
        var element = layui.element;
        //监听导航点击
        element.on('nav(demo)', function (elem) {
            layer.msg(elem.text());
        });
    });

    $(function () {
        $('.s_type ul li').click(function () {
            $(this).addClass('s_typeLi');
            $(this).siblings().removeClass('s_typeLi')
        })
        $('.layui-col2-card').click(function () {
            parent.document.getElementById("view").style.marginTop = 0;
            parent.document.getElementById("view").src = "HTML/Mould/MouldDetail.html";
        })
    })
</script>
</body>
</html>